<template>  
  <view class="container">  
    <view class="content">  
      <button class="start-button" @click="navigateToAnotherPage">Start</button>  
    </view>  
    <view class="admin-entry">  
      <navigator :url="'/pages/log/log'" open-type="navigate">管理员入口</navigator>  
    </view>  
  </view>  
</template>  
  
<script>  
export default {  
  methods: {  
    navigateToAnotherPage() {  
      uni.switchTab({  
        url: '/pages/index/index'  
      });
    }  
  }  
}  
</script>  
  
<style scoped>  
.container {  
  display: flex;  
  flex-direction: column;  
  align-items: center;  
  justify-content: center;  
  height: 100vh;  
}  
  
.content {  
  margin-bottom: 20px;  
}  
  
.start-button {  
  padding: 15px 30px;  
  font-size: 20px;  
  background-color: #007BFF;  
  color: #ffffff;  
  border: none;  
  border-radius: 5px;  
}  
  
.admin-entry {  
  position: absolute;  
  bottom: 20px;  
  left: 20px;  
  color: #007BFF;  
  text-decoration: none;  
  font-size: 16px;  
}  
</style>